home *** CD-ROM | disk | FTP | other *** search
- <refentry id="libgimp-gimpchannelops" revision="19 Jan 2001">
- <refmeta>
- <refentrytitle>gimpchannelops</refentrytitle>
- <manvolnum>3</manvolnum>
- <refmiscinfo>LIBGIMP Library</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>gimpchannelops</refname><refpurpose></refpurpose>
- </refnamediv>
-
- <refsynopsisdiv><title>Synopsis</title>
- <synopsis>
-
-
-
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-channel-ops-offset">gimp_channel_ops_offset</link> (<link linkend="gint32">gint32</link> drawable_ID,
- <link linkend="gboolean">gboolean</link> wrap_around,
- <link linkend="GimpChannelOffsetType">GimpChannelOffsetType</link> fill_type,
- <link linkend="gint">gint</link> offset_x,
- <link linkend="gint">gint</link> offset_y);
- <link linkend="gint32">gint32</link> <link linkend="gimp-channel-ops-duplicate">gimp_channel_ops_duplicate</link> (<link linkend="gint32">gint32</link> image_ID);
- </synopsis>
- </refsynopsisdiv>
-
-
-
-
-
- <refsect1>
- <title>Description</title>
- <para>
-
- </para>
- </refsect1>
-
- <refsect1>
- <title>Details</title>
- <refsect2>
- <title><anchor id="gimp-channel-ops-offset">gimp_channel_ops_offset ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_channel_ops_offset (<link linkend="gint32">gint32</link> drawable_ID,
- <link linkend="gboolean">gboolean</link> wrap_around,
- <link linkend="GimpChannelOffsetType">GimpChannelOffsetType</link> fill_type,
- <link linkend="gint">gint</link> offset_x,
- <link linkend="gint">gint</link> offset_y);</programlisting>
- <para>
- Offset the drawable by the specified amounts in the X and Y
- directions
- </para>
- <para>
- This procedure offsets the specified drawable by the amounts
- specified by 'offset_x' and 'offset_y'. If 'wrap_around' is set to
- TRUE, then portions of the drawable which are offset out of bounds
- are wrapped around. Alternatively, the undefined regions of the
- drawable can be filled with transparency or the background color, as
- specified by the 'fill_type' parameter.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>drawable_ID</parameter> :</entry>
- <entry> The drawable to offset.
- </entry></row>
- <row><entry align="right"><parameter>wrap_around</parameter> :</entry>
- <entry> wrap image around or fill vacated regions.
- </entry></row>
- <row><entry align="right"><parameter>fill_type</parameter> :</entry>
- <entry> fill vacated regions of drawable with background or transparent.
- </entry></row>
- <row><entry align="right"><parameter>offset_x</parameter> :</entry>
- <entry> offset by this amount in X direction.
- </entry></row>
- <row><entry align="right"><parameter>offset_y</parameter> :</entry>
- <entry> offset by this amount in Y direction.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-channel-ops-duplicate">gimp_channel_ops_duplicate ()</title>
- <programlisting><link linkend="gint32">gint32</link> gimp_channel_ops_duplicate (<link linkend="gint32">gint32</link> image_ID);</programlisting>
- <para>
- Duplicate the specified image
- </para>
- <para>
- This procedure duplicates the specified image, copying all layers,
- channels, and image information.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>image_ID</parameter> :</entry>
- <entry> The image.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The new, duplicated image.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
-
- </refsect1>
-
-
-
-
- </refentry>
-